package com.gjy.concurrency.aotmic;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-02-03 16:35:50
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AtomicEntity {

    public volatile int id;

    public volatile String name;

    public volatile Integer age;
}
